import Vue from 'vue';
import Axios from "axios";
import VueAxios from "vue-axios";
import router from './routers';
import store from './store';
import App from './app.vue';
import './assets/animate.css';
import './assets/common.js';
import 'babel-polyfill';

Vue.config.productionTip = false;
Vue.config.silent = false;

var axios_instance = Axios.create({
    transformRequest: [function (data) {
        data = Qs.stringify(data);
        return data;
    }],
    headers:{'Content-Type':'application/x-www-form-urlencoded'}
});

Vue.use(VueAxios, Axios, axios_instance);

new Vue({
	router,
	store,
	render: h => h(App)
}).$mount("#app");